<!doctype html>  

<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> 
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> </html><![endif]-->
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> </html><![endif]-->
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> </html><![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js ie9"> </html><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame 
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

  <title>Wisataku</title>
  <meta name="description" content="" />
  <meta name="author" content="" />

  <!--  Mobile viewport optimized: j.mp/bplateviewport -->
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
  <link rel="shortcut icon" href="favicon.ico" />
  <link rel="apple-touch-icon" href="apple-touch-icon.png" />


  <!-- CSS : implied media="all" -->
  <link rel="stylesheet" href="<?php echo $this->config->item('base_url');?>css/style_1e449cf9.css" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../../css/style_1e449cf9.css" rel="stylesheet" type="text/css">
</head>

<body>
  <div id="container">
	<!-- Header -->
    <div id="header">
		<div id="logo"><a href="<?php echo site_url('welcome');?>"><img src="<?php echo $this->config->item('base_url');?>images/logo wisataku.png" alt="" /></a></div>
		<div id="personal_data">
			<p></p>
			<p></p>
		</div>
	</div>
	<div id="menu" class="png_bg">
			<ul>
				<li><?php echo anchor("welcome/", 'Home'); ?></li>
				<?php
					if(!$this->session->userdata('login_member')){
						echo '<li>';
						echo anchor("Auth/register", 'Register');
						echo '</li>';
						echo '<li class="selected">';
						echo anchor("Auth/login", 'Login');
						echo '</li>';
					}else if($this->session->userdata('login_member')){
			  			echo '<li>';
						echo anchor("Home", 'Wisataku');
	  					echo '</li>';
						echo '<li>';
						echo anchor("Auth/logout", 'Logout');
	  					echo '</li>';
					}
				?>
			</ul>
		
		
	</div>
    <!-- /Header -->
    
	<!-- Main content alpha -->
	<div class="main png_bg">
		<div class="inner_main">
		<!-- True containers (keep the content inside containers!) -->
		<div class="container_gamma slogan">
		  <div class="gs_6">
					<h3>Login</h3>
				    <!-- Contact form starts -->
					<?php echo form_open('auth/login_process'); ?>
						<div id="form_container">		
						  <div id="form_main">
						    <table width="629" height="154" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="124"></td>
                                <td width="250"><?php 	  	
									$message = $this->session->flashdata('message');
									echo $message == '' ? '' : '<p align="center">' . $message . '</p>'; 
								?>                                </td>
                              </tr>
                              <tr>
                                <td><h6>username </h6></td>
                                <td align="center"><input align="middle" type="text" name="username" id="username" value="<?php echo set_value('username');?>" title="Username" />
                                </td>
                                <td width="255"><h6> <?php echo form_error('username'); ?> </h6></td>
                              </tr>
                              <tr>
                                <td><h6>password </h6></td>
                                <td align="center"><input align="middle" type="password" name="password" id="password" value="<?php echo set_value('password');?>" title="Password" />
                                </td>
                                <td><h6> <?php echo form_error('password'); ?> </h6></td>
                              </tr>
                              <tr>
                                <td><p>
                                    <input type="submit" name="submit" id="login" value="Login" class="superbutton" />
                                </p></td>
                              </tr>
                            </table>
						  </div>
						</div>
					<?php echo form_close();?>
				<!-- Contact form Ends -->
		  </div>
		</div>
			
	  </div>
		<!-- /True containers (keep the content inside containers!) -->
    </div>
    <div class="endmain png_bg"></div>
	<!-- /Main content alpha -->
	
	<!-- Footer styling transition (the stripe). You can remove it if you don't like it -->
	<!-- /Footer styling transition -->
    <!-- Footer -->
<div id="footer_top" class="png_bg"></div>
	<div id="footer" class="png_bg">
	
				<div class="gs_2 widget">
					<h4 class="widgettitle">Pages</h4>
					<ul>
						<li><?php echo anchor("welcome/", 'Home'); ?></li>
						<li><?php echo anchor("Auth/register/", 'Register'); ?></li>
						<li><?php echo anchor("Auth/login/", 'Login'); ?></li>
					</ul>
				</div>
				<div class="gs_4 widget">
					<h4 class="widgettitle">Contact with us!</h4>
					<p>&nbsp;</p>
	  </div>
				<div class="gs_4 widget">
					<h4 class="widgettitle">Newsletter</h4>
					<p>&nbsp;</p>
						
					
				</div>
				<div class="gs_2 omega widget">
				<h4 class="widgettitle">Our Affiliates</h4>
				<p>&nbsp;</p>
				</div>
	</div>
	<div id="footer_bottom" class="png_bg"><p>Copyrights &copy; wisataku 2011. All rights reserved.</p></div>
	<!-- /footer -->
	
	
  </div> <!--! end of #container -->


  <!-- Javascript at the bottom for fast page loading -->

  <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
  <script>!window.jQuery && document.write(unescape('%3Cscript src="<?php echo $this->config->item('base_url');?>js/libs/jquery-1.4.2.min.js"%3E%3C/script%3E'))</script>
  
  
  <!-- scripts concatenated and minified via ant build script-->
  <script src="<?php echo $this->config->item('base_url');?>js/plugins.js"></script>
  <script src="<?php echo $this->config->item('base_url');?>js/script.js"></script>
  <!-- end concatenated and minified scripts-->
  
  <!--[if lt IE 7 ]>
    <script src="./js/libs/dd_belatedpng.js"></script>
    <script> DD_belatedPNG.fix('img, .png_bg, .sidebar, .sidebar ul, .sidebar ul li, .sidebar ul li a'); //fix any <img> or .png_bg background-images </script>
  <![endif]-->


</body>
</html>
